package com.ideaaedi.zoo.example.springboot.bpmn.flowable.controller.demo4.entity.req;

import com.ideaaedi.zoo.example.springboot.bpmn.flowable.controller.demo4.entity.BaseDTO;
import com.ideaaedi.zoo.example.springboot.bpmn.flowable.controller.demo4.entity.enums.LeaveType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 请假申请表 add req
 * </p>
 *
 * @author Administrator
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DemoLeaveInfoAddReqVO extends BaseDTO {

    /**
     * 概要
     */
    @Schema(description = "概要")
    private String summary;

    /**
     * 请假类型
     */
    @Schema(description = "请假类型")
    private LeaveType type;

    /**
     * 请假开始时间
     */
    @Schema(description = "请假开始时间")
    private LocalDateTime leaveFrom;

    /**
     * 请假结束时间
     */
    @Schema(description = "请假结束时间")
    private LocalDateTime leaveTo;

    /**
     * 是否新增为草稿
     */
    @Schema(description = "是否新增为草稿")
    private Boolean asDraft;

}